<div style="float:right">    
	<div id="register-dialog" class="dialog">
  		<form action="action.php?do=register" method="post" onsubmit="register()">
    	<div>Tên đăng nhập</div>
    	<input name="username" type="text" size="20" maxlength="20" />
    	<div>Mật khẩu</div>
    	<input name="password" type="password" value="" maxlength="15" />
    	<div>Xác nhận</div>
    	<input name="retype-password" type="password" value="" maxlength="15" />
    	<div>Email</div>
    	<input name="email" type="text" size="20" maxlength="40" />    
    	<br />
    	<input name="register-button" type="submit" value="Đăng ký" />
  		</form>
	</div>
</div>

<div style="float:right">    
	<div id="login-dialog"  class="dialog">
  		<form action="action.php?do=login" method="post" onsubmit="login()">
    	<div>Tên đăng nhập</div>
    	<input name="username" type="text" size="20" maxlength="20" />
    	<div>Mật khẩu</div>
    	<input name="password" type="password" value="" maxlength="15" />
    	<br />
    	<input name="login-button" type="submit" value="Đăng nhập" />
  		</form>
	</div>
</div>